/**
 * @description:作业管理
 */
const OperationManageRouter = {
  path: "/operation-management",
  component: "Layout",
  redirect: "noRedirect",
  name: "OperationManagement",
  meta: {
    title: "作业管理",
    icon: "monitoring-alarm"
  },
  children: [
    {
      path: "/operation-record",
      name: "OperationRecord",
      // redirect: "/dew-net-operation",
      // component: "Layout",
      // component: { render(c) { return c('router-view') } },
      component:"operation-management/operation-record/index",
      meta: {
        title: "作业记录",
        icon: "monitoring-handling"
      },
      children: [
        // {
        //   path: "/water-change-operation",
        //   name: "WaterChangeOperation",
        //   component: "operation-management/operation-record/water-change-operation/index",
        //   meta: {
        //     title: "换水作业",
        //     icon: "monitoring-handling"
        //   },
        //   hidden: true
        // },
        {
          path: "/disinfection-operation",
          name: "DisinfectionOperation",
          component: "operation-management/operation-record/disinfection-operation/index",
          meta: {
            title: "消毒作业",
            icon: "historical-monitoring-record"
          },
          hidden: true
        },
        {
          path: "/dew-net-operation",
          name: "DewNetOperation",
          component: "operation-management/operation-record/dew-net-operation/index",
          meta: {
            title: "露网作业",
            icon: "monitoring-template-configuration"
          },
          hidden: true
        },
        {
          path: "/hanging-operation",
          name: "HangingOperation",
          component: "operation-management/operation-record/hanging-operation/index",
          meta: {
            title: "吊网作业",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        },
        {
          path: "/feeding-operation",
          name: "FeedingOperation",
          component: "operation-management/operation-record/feeding-operation/index",
          meta: {
            title: "投喂作业",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        }
      ]
    },

    {
      path: "/job-review",
      name: "JobReview",
      // redirect: "/dew-net-operation-audit",
      component: "operation-management/job-review/index",
      // component: { render(c) { return c('router-view') } },
      meta: {
        title: "作业审核",
        icon: "monitoring-handling"
      },
      children: [
        {
          path: "/dew-net-operation-audit",
          name: "DewNetOperationAudit",
          component: "operation-management/job-review/dew-net-operation-audit/index",
          meta: {
            title: "露网作业",
            icon: "monitoring-template-configuration"
          },
          hidden: true
        },
        {
          path: "/handing-operation-audit",
          name: "HandingOperationAudit",
          component: "operation-management/job-review/handing-operation-audit/index",
          meta: {
            title: "吊网作业",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        },
        {
          path: "/feeding-operation-audit",
          name: "FeedingOperationAudit",
          component: "operation-management/job-review/feeding-operation-audit/index",
          meta: {
            title: "投喂作业",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        }
      ]
    },

    {
      path: "/feed-machine-work",
      name: "FeedMachineWork",
      // redirect: "/disinfection-operation-history",
      // component: { render(c) { return c('router-view') } },
      component:"operation-management/feedMachineWork/index",
      meta: {
        title: "大投料机作业记录",
        icon: "monitoring-category-management"
      },
    },
    {
      path: "/history-query",
      name: "HistoryQuery",
      // redirect: "/disinfection-operation-history",
      // component: { render(c) { return c('router-view') } },
      component:"operation-management/history-query/index",
      meta: {
        title: "历史记录查询",
        icon: "monitoring-category-management"
      },
      children: [
        // {
        //   path: "/water-change-operation-history",
        //   name: "WaterChangeOperationHistory",
        //   component: "operation-management/history-query/water-change-operation-history/index",
        //   meta: {
        //     title: "历史换水记录",
        //     icon: "monitoring-handling"
        //   },
        //   hidden: true
        // },
        {
          path: "/disinfection-operation-history",
          name: "DisinfectionOperationHistory",
          component: "operation-management/history-query/disinfection-operation-history/index",
          meta: {
            title: "历史消毒记录",
            icon: "historical-monitoring-record"
          },
          hidden: true
        },
        {
          path: "/dew-net-operation-history",
          name: "DewNetOperationHistory",
          component: "operation-management/history-query/dew-net-operation-history/index",
          meta: {
            title: "历史露网记录",
            icon: "monitoring-template-configuration"
          },
          hidden: true
        },
        {
          path: "/hanging-operation-history",
          name: "HangingOperationHistory",
          component: "operation-management/history-query/hanging-operation-history/index",
          meta: {
            title: "历史吊网记录",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        },
        {
          path: "/feeding-operation-history",
          name: "FeedingOperationHistory",
          component: "operation-management/history-query/feeding-operation-history/index",
          meta: {
            title: "历史投喂记录",
            icon: "basic-monitoring-configuration"
          },
          hidden: true
        },
      ]
    }
  ]
}

export default OperationManageRouter;
